package com.bdqn.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.crm.mapper.SysRoleMapper;
import com.bdqn.crm.mapper.SysUserMapper;
import com.bdqn.crm.pojo.SysRole;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {
    @Resource
    private SysRoleMapper sysRoleMapper;
    @Override
    public List<SysRole> findAllRoles(SysRole sysRole) {
        return sysRoleMapper.findAllRoles(sysRole);
    }
}
